#pragma once

#include "IXMenuItem.h"

/**
 *  IXMenuEx Interface.
 *
 */
class ExportXSkinLib IXMenuEx : public IXBaseObj
{
    DEF_INTERFACE(IXMenuEx, _T("{1ADBFE83-DF94-4ae7-94D3-516E94DE87BF}"));

public:
    virtual HRESULT STDMETHODCALLTYPE   CreateMenuItem(IN OUT IXMenuItem** ppItem, IN LPCTSTR szItemId) = 0;

    virtual HRESULT STDMETHODCALLTYPE   TrackPopupMenu(IN LONG x, IN LONG y, IN XWND xWnd, OUT BSTR* pbstrCmdId) = 0;
};

